<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="UploadRate.aspx.vb" Inherits="GTSWeb_Carrier_Manage" title="GTS Frieght Management System" MaintainScrollPositionOnPostback="true" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
    <h3>File Upload</h3>
    <table>
        <tr align="center">
            <td colspan="3"><asp:Label ID="Message" runat="server" Text=""></asp:Label></td>
        </tr>
        <tr>
            <td>Rate File: </td>
            <td><asp:FileUpload ID="fuRates" runat="server" /></td>
            <td><asp:Button ID="btnUpload" runat="server" Text="Upload Rates" /></td>
        </tr>
    </table>
    <br />
    <asp:GridView ID="gdvwContractRates" runat="server" AutoGenerateColumns="False" Caption="Contract Rates"
        CellPadding="4" DataKeyNames="Rate Detail ID" ForeColor="#333333" GridLines="None"
        Width="100%">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:BoundField DataField="Rate Detail ID" HeaderText="Rate Detail ID" Visible="False" />
            <asp:BoundField DataField="Origin" HeaderText="Origin" />
            <asp:BoundField DataField="Destination" HeaderText="Destination" />
            <asp:BoundField DataField="Service Type" HeaderText="Service Type" />
            <asp:BoundField DataField="Minimum Weight" HeaderText="Min. Weight" />
            <asp:BoundField DataField="Maximum Weight" HeaderText="Max Weight" />
            <asp:BoundField DataField="Rate Charge" DataFormatString="{0:C}" HeaderText="Rate Charge"
                HtmlEncode="False" />
            <asp:BoundField DataField="Base Rate" DataFormatString="{0:C}" HeaderText="Base Rate"
                HtmlEncode="False" />
            <asp:BoundField DataField="Minimum Charge" DataFormatString="{0:C}" HeaderText="Min. Charge"
                HtmlEncode="False" />
            <asp:BoundField DataField="Rate Type" HeaderText="Rate Type" />
        </Columns>
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <EditRowStyle BackColor="#999999" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
</asp:Content>

